package com.pxmeta.party.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pxmeta.party.entity.PartyGiveGift;
import com.pxmeta.party.entity.PartyUser;
import com.pxmeta.party.entity.vo.GiftItemsVO;
import com.pxmeta.party.entity.vo.PartyCharmValuesVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PartyGiveGiftMapper extends BaseMapper<PartyGiveGift> {

    List<GiftItemsVO> getGiveItems(@Param("partyId") String partyId,@Param("targetUserId") Long targetUserId);

    List<GiftItemsVO> getPartyGiveGiftList();

    List<PartyCharmValuesVO> getPartyCharmValues(@Param("partyId") String partyId, @Param("userIds") List<Long> userIds);

    IPage<GiftItemsVO> getPartyGiveGiftPage(@Param("page") Page<GiftItemsVO> page);
}
